package com.hong.spring.common.entity;

import java.io.Serializable;

/**
 * @Auther: csh
 * @Date: 2020/7/7 17:56
 * @Description:用户信息
 */
public class User2 implements Serializable {
    private String userName;
    private int age;

    public User2() {
    }

    public User2(String userName, int age) {
        this.userName = userName;
        this.age = age;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", age=" + age +
                '}';
    }
}
